// 抽象类：为了创建标准/统一规范
abstract class MakeTaoCi {
    name:string
    abstract huoNi(water: string): void
    abstract suXing(hand: string, muju: string): void
    abstract shao(fire: string, wendu: number): void
    show(){
        console.log('我们要展示一下')
    }
}

// new MakeTaoCi() // 无法创建抽象类的实例

class TaoCi extends MakeTaoCi {
    huoNi(water: string): void {
        console.log(water)
    }
    suXing(hand: string, muju: string): void {
        console.log(hand, muju)
    }
    shao(fire: string, wendu: number): void {
        console.log(fire, wendu)
    }
}

new TaoCi().show()